package com.tedu.inventory.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

//log_id (日志ID, 主键) medicine_id (药品ID, 外键) operation (操作类型, 如入库、出库等) quantity (数量变化) operator (操作员) create_time (创建时间)
@Data
public class InventoryLogs {
    @ApiModelProperty(value = "日志ID")
    private Long logId;
    @ApiModelProperty(value = "药品ID")
    private Long medicineId;
    @ApiModelProperty(value = "操作类型")
    private Integer operation;
    @ApiModelProperty(value = "数量变化")
    private Long quantity;
    @ApiModelProperty(value = "操作员")
    private String operator;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

}
